import request from "@/utils/request"
const BASE_URL = process.env.VUE_APP_BASE_URL_OA

/**
 * 评论添加
 * @param {*} data
 */
export function setCommentAPI(data) {
	return request({
		url: BASE_URL + "workTaskComment/setComment",
		method: "post",
		data: data,
		headers: {
			"Content-Type": "application/json;charset=UTF-8"
		}
	})
}

export function deleteCommentAPI(data) {
	return request({
		url: BASE_URL + "workTaskComment/deleteComment",
		method: "post",
		data: data
	})
}

export function queryCommentListAPI(data) {
	return request({
		url: BASE_URL + "workTaskComment/queryCommentList",
		method: "post",
		data
	})
}
